const state ={
	list:[],//收藏的房源
	list_page:2,
	more:"more"
}
const getters={
	List:state => state.list,
	list_page:state => state.list_page,
	more:state=>state.more
}
const actions={
	
}
const mutations={
	//push列表
	pushList(state,payload){
		state.list=state.list.concat(payload)
		console.log(state.list)
		
	},
	//清空list
	clearList(state){
		state.list=[]
		state.page=1
	},
	//更多
	changeMore(state,payload){
		state.more=payload
	}
} 
export default {
	  namespaced: true,
	  state,
	  getters,
	  actions,
	  mutations
}